<div>
  <span ng-hide="active">
  	<[localItem.label]>
    (<a ng-click="openItemEditor()">Edit</a>)
  </span>
  <span ng-show="active">
    <input type="text" ng-model="localItem.label">
    <button type="button" ng-click="replaceItem(localItem.label)">Save</button>
  </span>
</div>
